package com.yy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.dto.DishDto;
import com.yy.entity.Category;
import com.yy.entity.Dish;
import com.yy.entity.DishFlavor;
import com.yy.entity.Employee;
import com.yy.utils.R;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * create by KongFuning on 2022/7/30
 */
public interface DishService extends IService<Dish> {

    R pageDish(Integer page, Integer pageSize, String name);

    R saveWithFlavor(DishDto dishDto);

    R toUpdateWithFlavor(String id);

    R updateWithFlavor(DishDto dishDto);

    R getDishList(DishDto dishDto);

    R isSale(Integer status,String ids);

    R deleteDish(String ids);

}
